﻿package mortal.game.proxy
{
    import Message.Game.*;
    import flash.utils.*;
    import mortal.game.net.rmi.*;
    import mortal.game.scene3D.ai.*;
    import mortal.game.utils.*;

    public class GuildWarProxy extends Proxy
    {

        public function GuildWarProxy()
        {
            return;
        }// end function

        public function signUpGuildWar() : void
        {
            GameRMI.instance.iCopy.signUpGuildWar_async(new AMI_ICopy_signUpGuildWar());
            return;
        }// end function

        public function enterGuildWar() : void
        {
            CopyUtil.copyCheck(this.enterGuildWarFun);
            return;
        }// end function

        private function enterGuildWarFun() : void
        {
            AIManager.cancelAll();
            GameRMI.instance.iCopy.enterGuildWar_async(new AMI_ICopy_enterGuildWar());
            return;
        }// end function

        public function getGuildWarInfo() : void
        {
            GameRMI.instance.iCopy.getGuildWarInfo_async(new AMI_ICopy_getGuildWarInfo());
            return;
        }// end function

        public function getGuildWarPlayerScore() : void
        {
            return;
        }// end function

        public function getPlayerScores() : void
        {
            GameRMI.instance.iCopy.getGuildWarPlayerScores_async(new AMI_ICopy_getGuildWarPlayerScores());
            return;
        }// end function

        public function getGuildWarVIPExploit() : void
        {
            GameRMI.instance.iCopy.getGuildWarVipExploit_async(new AMI_ICopy_getGuildWarVipExploit());
            return;
        }// end function

        public function getGuildWarWinGift() : void
        {
            GameRMI.instance.iCopy.getGuildWarWinExtraReward_async(new AMI_ICopy_getGuildWarWinExtraReward());
            return;
        }// end function

    }
}
